FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / UnboundSort Class / SortUnboundGrid Method / SortUnboundGrid(C1FlexGrid,IList<UnboundSortDescription>) Method
Grid to be sorted.
List of UnboundSortDescription objects that specify the columns to sort on.

In This Topic
    SortUnboundGrid(C1FlexGrid,IList<UnboundSortDescription>) Method
    In This Topic
    Sorts the selected rows in an unbound grid.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub SortUnboundGrid( _
       ByVal flex As C1FlexGrid, _
       ByVal sortDescriptions As IList(Of UnboundSortDescription) _
    ) 
    public static void SortUnboundGrid( 
       C1FlexGrid flex,
       IList<UnboundSortDescription> sortDescriptions
    )

    Parameters

    flex
    Grid to be sorted.
    sortDescriptions
    List of UnboundSortDescription objects that specify the columns to sort on.
    Remarks
    If only one row is selected, this method sorts the whole grid.
    See Also